* {
  margin: 0;
  padding: 0;
}

.head {
  width: 800px;
  height: 50px;
  border: 1px solid gray;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.bigbox button {
  background-color: skyblue;
  border: 0;
  width: 50px;
  height: 30px;
  color: white;
}

tbody td button {
  margin-left: 10px;
}

table {
  width: 800px;
  text-align: center;
}

.nan,
.dis {
  box-sizing: border-box;
  font-size: 12px;
  color: red;
  border: 1px solid red;
  border-radius: 5px;
  padding: 3px;
  background-color: rgba(255, 0, 0, 0.1);
}

.nv,
.avail {
  box-sizing: border-box;
  font-size: 12px;
  color: green;
  border: 1px solid green;
  border-radius: 5px;
  padding: 3px;
  background-color: rgba(0, 128, 0, 0.1);
}

td p {
  text-align: center;
  width: 50px;
  height: 30px;
  margin: 0 auto;
}

/* 修改页面 */
.pop {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pop>div {
  width: 500px;
  height: 300px;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.pop>div .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  height: 30px;
  border-bottom: 1px solid gray;
}

.pop>div .header button {
  background-color: white;
  border: 0;
  width: 30px;
  height: 30px;
  font-size: 20px;
}

.pop .input {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.pop .input>input {
  height: 25px;
}

.pop .button {
  display: flex;
  justify-content: right;
  padding: 10px;
}

.pop .button .false,
.pop .button .true {
  width: 50px;
  height: 30px;
  margin-left: 10px;
}

.pop .button .true {
  color: white;
  background-color: skyblue;
  border: 0;
}

.change {
  display: none;
}

.add {
  display: none;
}